package edu.mcw.rgd.clinminer.web.ui;

import com.vaadin.ui.FormFieldFactory;

import com.vaadin.spring.roo.addon.annotations.RooVaadinAutomaticEntityForm;

import edu.mcw.rgd.clinminer.web.AutomaticEntityForm;
import edu.mcw.rgd.clinminer.web.utils.ClinminerFormFieldFactory;

@RooVaadinAutomaticEntityForm(formBackingObject = edu.mcw.rgd.clinminer.domain.ImagingPhenotype.class)
public class ImagingPhenotypeForm extends
		AutomaticEntityForm<edu.mcw.rgd.clinminer.domain.ImagingPhenotype> {

	public ImagingPhenotypeForm() {
		super(edu.mcw.rgd.clinminer.domain.ImagingPhenotype.class);

		getForm().setFormFieldFactory(getFormFieldFactory());
	}

	public FormFieldFactory getFormFieldFactory() {
		return new ClinminerFormFieldFactory();
	}
}
